<?php
/**
 * Created by PhpStorm.
 * User: ���ǿ
 * Date: 2017/3/22
 * Time: 21:14
 */

namespace Common\Model;


class DetailModel extends BaseModel
{
    protected $pk = 'gid';//主键
    protected $tableName = 'detail';//指定操作数据表
    protected $_validate = [
        //自动验证
        ['intro','require','请输入商品详情'],
    ];
}